﻿using FluentMigrator;

namespace Rubikev.Rockface.Database.ForeignKeys
{
   /// <summary>
   /// Creates the foreign key from the Route table climb id to the Climb table
   /// </summary>
   [Migration(201106052127)]
   public class CreateRouteClimbToClimbForeignKey : CreateForeignKeyMigration
   {
      /// <summary>
      /// The name of the route table
      /// </summary>
      public override string FromTableName
      {
         get { return "Route"; }
      }

      /// <summary>
      /// The name of the climb table
      /// </summary>
      public override string ToTableName
      {
         get { return "Climb"; }
      }
   }
}
